<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head th:replace="common/common.html::common_css">
</head>
<body>
<div th:replace="common/admin_common.html::common_sidebar"></div>
<div class="page">
    <div th:replace="common/admin_common.html::common_navbar"></div>
    <!-- Breadcrumb-->
    <div class="breadcrumb-holder">
        <div class="container-fluid">
            <ul class="breadcrumb">
                <li class="breadcrumb-item"><a th:href="@{/admin/admin_index.html}">主页</a></li>
                <li class="breadcrumb-item active">题库管理</li>
            </ul>
        </div>
    </div>
    <section class="forms">
        <div class="container-fluid">
            <!-- Page Header-->
            <header>
                <h1 class="h3 display">题库管理</h1>
            </header>
            <div class="row">
                <div class="col-lg-4" th:each="apartments:${apartments}">
                    <div class="card">
                        <div class="card-header d-flex align-items-center" style="height: 60px">
                            <h4 th:text="${apartments.apartmentname}"></h4>
                        </div>
                        <div class="card-body text-center" style="height: 200px">
                            <p style="margin-top: 35px" th:text="${apartments.apartmentname}+'题库'"></p>
                            <a th:href="@{/admin/testlib_information.html/{apartmentid}(apartmentid=${apartments.apartmentid})}" style="width: 80%"
                               type="button" class="btn btn-primary">查 看</a>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </section>
    <div th:replace="common/common.html::common_footer"></div>
</div>
<div th:replace="common/common.html::common_js">
</div>
</body>
</html>